/**
 * 
 */
package common.tuple;

/**
 * @author bogdan
 *
 */
public class Tuple4<T1, T2, T3, T4> {
	private  final T1 obj1;
	private  final T2 obj2;
	private  final T3 obj3;
	private  final T4 obj4;
	
	public Tuple4()
	{
		obj1 = null;
		obj2 = null;
		obj3 = null;
		obj4 = null;
	}

	public Tuple4(T1 a1, T2 a2, T3 a3, T4 a4)
	{
		obj1 = a1;
		obj2 = a2;
		obj3 = a3;
		obj4 = a4;
	}
	
	public T1 getObject1() { return obj1; }
	public T2 getObject2() { return obj2; }
	public T3 getObject3() { return obj3; }
	public T4 getObject4() { return obj4; }
	
	public boolean isEmpty() 
	{
		if( obj1 == null &&
			obj2 == null &&
			obj3 == null &&
			obj4 == null )
			return true;
		
		return false;
	}
}
